package cn.tedu._02notice.base.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;

@Configuration//配置类
@MapperScan("cn.tedu._02notice.mapper")//专门用来扫描mapper包所有接口的注解
//其他所有接口的mapper都不用添加@Mapper注解了
public class MybatisConfig {

}
